package com.ys.data.client;

import com.common.constant.FeignClientConstant;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
* @version: V1.0
* @author: szw
* @className: OrderClient
* @packageName: OrderClient
* @description: 订单服务-client
* @data: 2021-1-20 
**/   
@Component
@FeignClient(name = FeignClientConstant.YS_DATA_ORDER_NAME)
public interface OrderClient {

    @GetMapping("/findOrder")
    String findOrder();
}
